# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models

# Create your models here.
class Article(models.Model):
    title= models.CharField(max_length=32, default='title')
    content =models.TextField(null=True)
    
    #后台字段列表显示内容
    def __unicode__(self):
    	return self.title